---
description: 'A function to hard link all files from a source directory to a multiple destination directories'
labels: ['toolbox']
---

## Usage

```ts
import hardLinkDirectory from '@teambit/toolbox.fs.hard-link-directory';

await hardLinkDirectory(fromDir, [toDir1, toDir2]);
```
